package com.mingqijia.gassafety.webserver.request;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @program: gassafety
 * @description:
 * @author: Mr.Wang
 * @create: 2022-09-27 10:10
 **/
@Data
public class EquipmentAddressRequest {
    @ApiModelProperty(value = "设备号")
    @NotEmpty(message = "设备号imei不能为空.")
    private  String imei;

    @ApiModelProperty(value = "安装地址")
    @NotEmpty(message = "安装地址不能为空")
    private String installationAddress;

    @ApiModelProperty(value = "安装经度")
    @NotNull(message = "安装经度不能为空")
    private Double positionLon;

    @ApiModelProperty(value = "安装纬度")
    @NotNull(message = "安装纬度不能为空")
    private Double positionLat;

}
